package com.aigou.admin.aigouspringboot.service;

import com.aigou.admin.aigouspringboot.entity.ProductType;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author Mr.LiFuXing
 * @Date 2024/12/10 20:20
 * @Title UserService
 * @Package com.aigou.admin.aigouspringboot.service
 */
public interface ProductTypeService {

    List<ProductType> selectAll();

    PageInfo<ProductType> selectProductTypeListByPage(Integer current);

    int deleteById(String id);

    ProductType selectById(String id);

    int edit(ProductType productType);

    int save(ProductType productType);
}
